package team.first.movieapiv3.staff;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;
import org.neo4j.ogm.annotation.Id;
import org.neo4j.ogm.annotation.NodeEntity;

/**
 * @Author: HAPPY
 * @Project_name: project
 * @Package_name: team.first.movieapiv3.admin
 * @Date: 2021/12/22 13:27
 * @Description: 影人电影作品信息
 */

@Getter
@Setter
@ToString
@Accessors(chain = true)
@NodeEntity(label = "Movie")
public class Filmography {

    @Id
    @ApiModelProperty(value = "电影编号", example = "1291543")
    private Integer id;

    @ApiModelProperty(value = "电影片名", example = "功夫")
    private String originalTitle;

    @ApiModelProperty(value = "电影中文名", example = "功夫")
    private String chineseTitle;

    @ApiModelProperty(value = "上映年份", example = "2004")
    private Integer year;

    @ApiModelProperty(value = "地区", example = "中国大陆")
    private String region;

    @ApiModelProperty(value = "海报地址", example = "http://img3.doubanio.com/view/photo/s_ratio_poster/public/p2219011938.jpg")
    private String posterUrl;

    @ApiModelProperty(value = "分值", example = "9")
    private Double rating;

    @ApiModelProperty(value="电影海报名", example = "1291543.jpg")
    private String poster;

}
